shared-domain-ux

(0 reviews)

Retrieve Digital Identity

/digitalIdentity

[GET]

This operation retrieves digital identity status based on ID or billing account number or email address linked to the digital identity.

URL
https://[host]:[port]/shared-domain-ux/v1/{businessId}/digitalIdentity
CWP URL

https://nonprod.cwp.esb.cloud.lla.com/test/shared-domain-ux-cwp/shared-domain-ux/v1/PA/digitalIdentity

LCR URL

https://nonprod.lcr.esb.cloud.lla.com/test/shared-domain-ux-lcr/shared-domain-ux/v1/CR/digitalIdentity

URI Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y
Headers
nametypedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Y
Query Param
nametypedescriptionrequired
individualIdentified.individualIdentification.identificationIdstringBilling account number linked to the digital Identity ex: "354285560000"Y
individualIdentified.individualIdentification.identificationTypestringBilling account number type to refer the identification Id ex: "BillingAccount"Y
contactMedium.emailAddressstringEmail address linked to the digital Identity ex: "user@email.com"Y
idstringUnique Digital Identity Profile IDY
If more than one query parameter is provided, the lookup priority at SAP CDC is:
  • id
  • billingAccount
  • emailAddress
cURL Request
Query with ID
curl --location 'https://nonprod.{bgid}.esb.cloud.lla.com/test/shared-domain-ux-{bgid}/shared-domain-ux/v1/{businessId}/digitalIdentity?id=digid-123456' \
--header 'client_id: xxxxxxxxx' \
--header 'client_secret: xxxxxxxxxxx' \
--header 'X-Correlation-ID: {{$guid}}'
Query with Billing account
curl --location 'https://nonprod.{bgid}.esb.cloud.lla.com/test/shared-domain-ux-{bgid}/shared-domain-ux/v1/{businessId}/digitalIdentity?individualIdentified.individualIdentification.identificationId=354285560000&individualIdentified.individualIdentification.identificationType=BillingAccount' \
--header 'client_id: xxxxxxxxx' \
--header 'client_secret: xxxxxxxxxxx' \
--header 'X-Correlation-ID: {{$guid}}'
Query with email address
curl --location 'https://nonprod.{bgid}.esb.cloud.lla.com/test/shared-domain-ux-{bgid}/shared-domain-ux/v1/{businessId}/digitalIdentity?contactMedium.emailAddress=user@email.com' \
--header 'client_id: xxxxxxxxx' \
--header 'client_secret: xxxxxxxxxxx' \
--header 'X-Correlation-ID: {{$guid}}'
Response
[{
  "id": "digid-123456",
  "status": "Pending",
  "credential": [
    {
      "id": "1",
      "login": "suepitti15@email.com",
      "@type": "LoginPasswordCredential"
    }
  ]
}]

Reviews